<html>
	<head>
		<title>Entries Index</title>
	</head>
	<body>
		<h1>Entries Index</h1>
		{% for entry in latest %}
			<h2>{{ entry.title }}</h2>
			<p>Published on {{ entry.pub_date|date:'F j, Y' }}</p>
			{% if entry.excerpt_html %}
				{{ entry.excerpt_html|safe }}
			{% else %}
				{{ entry.body_html|truncatewords_html:'50'|safe }}
			{% endif %}
			<p><a href='{{ entry.get_absolute_url }}'>read full entry</a></p>
		{% endfor %}
	</body>
</html>

